Features
- Warn users with a reason (stored in a database).
- Auto-punishment when a user reaches a configurable threshold:
- Timeout (with duration)
- Kick
- Ban
- Role-based thresholds (different thresholds per role).
- Bypass & Exemption:
- Bypass: Allows users/roles to manage warn settings or thresholds.
- Exempt: Prevents users/roles from being warned or punished.
- Clear or remove warnings individually, by user, or for the whole server.
- Configurable thresholds & punishments for all users or per role.
- Logs with timestamps for warnings and actions.
- Reset all warn configurations with one command.
1. Setting Up the Warn System
Before using warnings effectively, you should configure the punishment and threshold.Step 1: Set a Punishment
Choose what happens when someone reaches the warning threshold:timeout [duration]– Temporarily time out the user.kick– Remove the user from the server.ban– Permanently ban the user.none– Disable automated punishments.
Step 2: Set a Warning Threshold
Set how many warnings a user can get before the punishment is triggered.Example:
Step 3: (Optional) View Current Config
Check what punishment and threshold are active:Step 4: (Optional) Add Bypass or Exemptions
-
Bypass: Roles/users who can change warn settings (e.g., moderators).
Exempt: Roles/users who cannot be warned or punished.
2. Using the Warn System
Warn a User
Example:- Adds a warning to the user.
- If they reach the threshold, applies the punishment (timeout/kick/ban).
- Shows all warnings for a user.
- If no user is specified, shows the 3 most recently warned users.
Clear Warnings
Clear all warnings for one user:Manage Bypasses
-
Toggle bypass for a user or role:
View all bypassed users/roles: